﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLKhachSan.DTO;
using System.Data;
using System.Data.SqlClient;
using QLKhachSan.DAO;

namespace QLKhachSan.BUS
{
    public class BUS_DatTiec
    {
        public static void themDatTiec(DTO_DatTiec p)
        {
            DAO_DatTiec.themDatTiec(p);
        }
        public static DataTable hienthiDanhSachDatTiec()
        {
            return DAO_DatTiec.hienthiDanhSachDatTiec();
        }

        public static void xoaDatTiec(DTO_DatTiec p)
        {
            DAO_DatTiec.xoaDatTiec(p);
        }
        public static DataTable hienthiDanhSachDatTiecDeInTheoMaDatTiec(DTO_DatTiec p)
        {
            return DAO_DatTiec.hienthiDanhSachDatTiecDeInTheoMaDatTiec(p);
        }
        public static void suaDatTiecTheoDaTra(DTO_DatTiec p)
        {
            DAO_DatTiec.suaDatTiecTheoDaTra(p);
        }
    }
}
